﻿using _8Group.MES.ISongService.WmOutsourceRecpt.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.ISongService.WmOutsourceRecpt
{
    public interface IWmOutsourceRecptService: IApplicationService
    {
        /// <summary>
        /// 获取外协入库列表
        /// </summary>
        /// <param name="applicationDTO"></param>
        /// <returns></returns>
        Task<object> GetOutsourceRecptList(RequestIApplicationDTO applicationDTO);

        /// <summary>
        /// 删除外协入库
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteOutsourceRecpt(int id);

        /// <summary>
        ///     新增外协入库
        /// </summary>
        /// <param name="wmOutsourceRecptDTO"></param>
        /// <returns></returns>
        Task<bool> AddOutsourceRecpt(AddWmOutsourceRecptDTO wmOutsourceRecptDTO);

        /// <summary>
        ///     更新外协入库
        /// </summary>
        /// <param name="wmOutsourceRecptDTO"></param>
        /// <returns></returns>
        Task<bool> UpdateOutsourceRecpt(UpdateWmOutsourceRecptDTO wmOutsourceRecptDTO);
    }
}
